//
//  ZCNewViewController.m
//  BaiSi
//
//  Created by 张灿 on 16/4/24.
//  Copyright © 2016年 张灿. All rights reserved.
//

#import "ZCNewViewController.h"
#import "ZCMoreTableViewController.h"

@interface ZCNewViewController ()

@end

@implementation ZCNewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setupNavBar];
}

- (void)setupNavBar
{
    //左
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:[UIImage imageNamed:@"MainTagSubIcon"] highlightImage:[UIImage imageNamed:@"MainTagSubIconClick"] Target:self action:@selector(mainTag)];

    //中
    self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"MainTitle"]];
}

- (void)mainTag
{
    //创建一个标签页
    ZCMoreTableViewController *tagVC = [[ZCMoreTableViewController alloc] init];
    [self.navigationController pushViewController:tagVC animated:YES];
}




@end
